<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../pccommon.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>个人中心我的团队</title>
<link type="text/css" rel="stylesheet" href="${staticPath}/pccss/grzx.css" />
<script type="text/javascript" src="${staticPath}/js/app/dealer/pcteam.js"></script>
<link type="text/css" rel="stylesheet" href="${staticPath}/js/myPagination/css/page.css" />
<script type="text/javascript" src="${staticPath}/js/myPagination/js/jquery.myPagination.js"></script>
</head>
<body>
	<div id="wrapper">
		<c:import url="../layout/header2.jsp"></c:import>
		<div id="main">
			<div id="mainw">
				<c:import url="../layout/leftNav.jsp">
					<c:param name="leftNav" value="${page }" />
				</c:import>
				<div class="mainw_right">
					<div class="mainw_right1">
						<img src="${staticPath}/pcimages/a1.png" />
						<c:if test="${type == 0 }">
							<h1>我的会员</h1>
						</c:if>
						<c:if test="${type == 1 }">
							<h1>我的团队</h1>
						</c:if>
					</div>
					<div class="mainw_right8">
						<table width="900" border="0" class="table1">
							<tr class="td1">
								<c:if test="${type == 0 }">
									<td style="width: 100px; text-align: center;">我的会员：</td>
								</c:if>
								<c:if test="${type == 1 }">
									<td style="width: 100px; text-align: center;">我的团队：</td>
								</c:if>
								<td style="width: 200px; text-align: left;" id="onelevel">
									<c:if test="${sum == null }">0</c:if>
									<c:if test="${sum != null }">${sum }</c:if>
								</td>
								<td></td>
								<td></td>
							</tr>
							<c:if test="${type == 1 }">
								<tr class="td1">
									<td style="width: 100px; text-align: center;">总消费：</td>
									<td style="width: 200px; text-align: left;">￥${totalconsumption }</td>
									<td></td>
									<td></td>
								</tr>
							</c:if>
						</table>
					</div>
					<div class="mainw_right1" style="margin-top: 20px;">
						<img src="${staticPath}/pcimages/a1.png" />
						<c:if test="${type == 0 }">
							<h1>会员详情：</h1>
						</c:if>
						<c:if test="${type == 1 }">
							<h1>团队详情：</h1>
						</c:if>
					</div>
					<input id="currentPage" type="hidden" value="${currentPage}"/>
					<div class="mainw_right8" style="margin-bottom: 20px; height: 468px;">
						<table width="900" border="0" class="table1">
							<thead class="td1">
								<tr>
									<th style="width: 30%; text-align: center;">姓名</th>
									<th style="width: 40%; text-align: center;">电话</th>
									<c:if test="${type == 0 }">
										<th style="width: 30%; text-align: center;">业绩/分佣(积分)</th>
									</c:if>
									<c:if test="${type == 1 }">
										<th style="width: 30%; text-align: center;">业绩(元)</th>
									</c:if>
								</tr>
							</thead>
							<tbody id="list"></tbody>
						</table>
					</div>
					<div id="page"></div>
				</div>
				<!--mainw_right end-->
			</div>
		</div>
		<input type="hidden" name="type" id="type" value="${type }" />
		<div style="clear: both;"></div>
		<c:import url="../layout/footer.jsp"></c:import>
	</div>
</body>
</html>
